﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TiposComuns.Objectos;

namespace Servidor.Objectos
{
    /// <summary>
    /// Class used for sychronization. Contains the state of the server that 
    /// sends a response to a checkview operation, and, eventually, a list of
    /// actions to add to the logfile.
    /// </summary>
    [Serializable]
    public class Synchronization
    {
        /// <summary>
        /// State of the server that
        /// </summary>
        public State State
        {
            get;
            set;
        }

        public List<Action> Actions
        {
            get;
            set;
        }

        public Synchronization()
        {
            this.Actions = new List<Action>();
            this.State = new State();
        }
    }
}
